<%--<%@ page import="java.util.Map" %>--%>
<%--
  Created by IntelliJ IDEA.
  User: hp
  Date: 2020/11/11
  Time: 15:53
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>

<style type="text/css">

    table{
        border: 1px solid red;
        border-collapse: collapse;/*设置是否把表格边框合并为单一的边框。*/

    }
    td,tr{
        /*width: 30px;*/
        border: 1px solid red;

    }
</style>
<html>
<head>
    <title>Title</title>
</head>
<body>
<%
pageContext.setAttribute("key","pageContext");
request.setAttribute("key","request");
session.setAttribute("key","session");
application.setAttribute("key","application");

%>
<%=pageContext.getAttribute("key")%><br/>
<%=request.getAttribute("key")%><br/>
<%=session.getAttribute("key")%><br/>
<%=application.getAttribute("key")%><br/>
<%--<%request.getRequestDispatcher("/index.jsp").--%>
<%--        forward(request,response);%><br/>--%>
<%out.write(11);%>
<%out.print(4);%>


<table align="center">
<%
for(int i =1;i<=9;i++){
    %>
<tr>
<%
    for(int j = 1;j<=i;j++){%>
<td><% out.print(i+"+"+j+"="+(i*j)+"   ");
    }
    %>
</td><br/>
<%
}
%>
</table>
我是jsp
<%--<%@include file="file.jsp"%>--%>
<jsp:include page="file.jsp"></jsp:include>
</body>
</html>
